﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

/**
 * 创建时间：2014/9/20 15:11:30
 * 作者：yong.blackcore
 * Email：itblackhole@outlook.com
 * QQ：50404503
 */
namespace Assistant
{
    public class LogUtility
    {
        public static void Log(object info)
        {
            new StackFrame();
            bool isAttached = Debugger.IsAttached;
        }

        public static void Log(string prompt, params object[] args)
        {
            if (Debugger.IsAttached)
            {
                string str = prompt + ":";
                for (int i = 0; i < args.Length; i++)
                {
                    str = str + Convert.ToString(args[i]) + ",";
                }
            }
        }
    }
}
